package com.hinnotek.amoeba.adapters.old

import com.chad.library.adapter.base.BaseQuickAdapter
import com.chad.library.adapter.base.viewholder.BaseViewHolder
import com.hinnotek.amoeba.bean.old.SysOrgAmibaDetailListBean
import com.hinnotek.amoeba.R

/**
 *
 */
class SysOrgAmibaDetailListAdapter :
    BaseQuickAdapter<SysOrgAmibaDetailListBean, BaseViewHolder>(R.layout.item_home_manager_work) {
    override fun convert(holder: BaseViewHolder, item: SysOrgAmibaDetailListBean) {
        holder.setText(R.id.tv_amoeba_name, item.orgName)
        holder.setText(R.id.tv_amount_to_be_credited, item.deservedTotal)
        holder.setText(R.id.tv_actual_amount, item.actualTotal)
        holder.setText(R.id.tv_cost_amount, item.costTotal)
    }
}